$def with (privData)
<div data-role="footer" data-position="fixed" data-id="page-footer">
    <div data-role="navbar">
        <ul>
        $for i in privData['PAGE_FOOTER_MODS']:
            $if privData['NAME'] == i[1][0]:
                <li><a href="$:i[1][1]" id="itemid-$:i[0]" class="ui-btn-active ui-state-persist">$:i[1][0]</a></li>
            $else:
                <li><a href="$:i[1][1]" id="itemid-$:i[0]">$:i[1][0]</a></li>
        </ul>
    </div>
</div>
